lst = [1, 4, 9, 16, 2, 5, 10, 15]

lst1 = [lst[j]+lst[j+1] for j in range(len(lst)-1)]

print(lst1)
# 这道题做的不错